import Vue from 'vue'
import vuex from 'vuex'
Vue.use(vuex)



//会员中心模块
import modulesUser from './modules/modulesUser'
//购买前一步
import modulesOrder from './modules/modulesOrder'
//收货地址
import modulesAddress from './modules/modulesAddress'
//优惠券
import modulesCoupon from './modules/modulesCoupon'
//订单确认支付
import modulesOrderConfirm from './modules/modulesOrderConfirm'

//授权前的地址
import modulesUrl from './modules/modulesUrl'


export default new vuex.Store({
  modules: {
    modulesUser:modulesUser,
    modulesOrder,
    modulesAddress,
    modulesCoupon,
    modulesOrderConfirm,
    modulesUrl
  }
})